{"version":3,"sources":["messagecard.bundle.js"],"names":["this","BX","exports","main_core","main_core_events","_templateObject","_templateObject2","_templateObject3","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","babelHelpers","defineProperty","getOwnPropertyDescriptors","defineProperties","BaseCard","_EventEmitter","inherits","_this","options","undefined","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","cache","Cache","MemoryCache","data","id","Type","isStringFilled","Text","getRandom","hidden","toBoolean","onClickHandler","isFunction","onClick","bind","assertThisInitialized","layout","getLayout","header","getHeader","body","getBody","setTitle","title","setHidden","className","Dom","addClass","isObject","attrs","adjust","Event","createClass","value","_this2","remember","Tag","render","taggedTemplateLiteral","textContent","attr","emit","show","isShown","hide","getNode","EventEmitter","_templateObject$1","_templateObject2$1","_templateObject3$1","_templateObject4","_templateObject5","MessageCard","_BaseCard","onCloseClick","angle","icon","append","getIcon","isArray","actionElements","getTitle","getDescription","closeable","getCloseButton","hideActions","more","getActionsContainer","isAllowRestoreState","state","get","shown","restoreState","_this3","_this4","description","_this5","event","preventDefault","set","_this6","actionWrapper","element","appendChild","UI"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,IACpB,SAAUC,EAAQC,EAAUC,GAC5B,aAEA,IAAIC,EAAiBC,EAAkBC,EAEvC,SAASC,EAAQC,EAAQC,GAAkB,IAAIC,EAAOC,OAAOD,KAAKF,GAAS,GAAIG,OAAOC,sBAAuB,CAAE,IAAIC,EAAUF,OAAOC,sBAAsBJ,GAASC,IAAmBI,EAAUA,EAAQC,QAAO,SAAUC,GAAO,OAAOJ,OAAOK,yBAAyBR,EAAQO,GAAKE,eAAiBP,EAAKQ,KAAKC,MAAMT,EAAMG,GAAY,OAAOH,EAE9U,SAASU,EAAcC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAS,M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